package com.ruoyi.grape.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 庄园动态信息对象 tb_grape_trends
 * 
 * @author ld
 * @date 2023-11-18
 */
public class GrapeTrends extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long trendsId;

    /** 动态标题 */
    @Excel(name = "动态标题")
    private String trendsTitle;

    /** 动态来源 */
    @Excel(name = "动态来源")
    private String trendsSource;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trendsTime;

    /** 动态详情 */
    @Excel(name = "动态详情")
    private String trendsContent;

    /** 备注 */
    @Excel(name = "备注")
    private String trendsNote;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String trendsImage;

    public void setTrendsId(Long trendsId) 
    {
        this.trendsId = trendsId;
    }

    public Long getTrendsId() 
    {
        return trendsId;
    }
    public void setTrendsTitle(String trendsTitle) 
    {
        this.trendsTitle = trendsTitle;
    }

    public String getTrendsTitle() 
    {
        return trendsTitle;
    }
    public void setTrendsSource(String trendsSource) 
    {
        this.trendsSource = trendsSource;
    }

    public String getTrendsSource() 
    {
        return trendsSource;
    }
    public void setTrendsTime(Date trendsTime) 
    {
        this.trendsTime = trendsTime;
    }

    public Date getTrendsTime() 
    {
        return trendsTime;
    }
    public void setTrendsContent(String trendsContent) 
    {
        this.trendsContent = trendsContent;
    }

    public String getTrendsContent() 
    {
        return trendsContent;
    }
    public void setTrendsNote(String trendsNote) 
    {
        this.trendsNote = trendsNote;
    }

    public String getTrendsNote() 
    {
        return trendsNote;
    }
    public void setTrendsImage(String trendsImage) 
    {
        this.trendsImage = trendsImage;
    }

    public String getTrendsImage() 
    {
        return trendsImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("trendsId", getTrendsId())
            .append("trendsTitle", getTrendsTitle())
            .append("trendsSource", getTrendsSource())
            .append("trendsTime", getTrendsTime())
            .append("trendsContent", getTrendsContent())
            .append("trendsNote", getTrendsNote())
            .append("trendsImage", getTrendsImage())
            .toString();
    }
}
